package com.dly.blog.dao;

import com.dly.blog.domain.GptSessionContentElasticsearch;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.time.LocalDateTime;
import java.util.List;

public interface ContentRepository extends ElasticsearchRepository<GptSessionContentElasticsearch, Long> {

    List<GptSessionContentElasticsearch> findByContentContainingOrderByCreateTimeDesc(String keyword);
}
